<style type="text/css">
/* kategorie */
.kategorie-photogallery{ldelim}
			overflow: hidden;
			float: left; padding: 3px;  margin: 0px {$settings_photogallery.lista_kategorii_marginesy_full|default:'14'}px 15px 0px; width: {$settings_photogallery.lista_kategorii_szerokosc_ramki|default:'185'}px; height: {$settings_photogallery.lista_kategorii_wysokosc_ramki|default:'200'}px;
			border: solid {$settings_photogallery.lista_kategorii_grubosc_ramki|default:'1'}px {$settings_photogallery.lista_kategorii_kolor_ramki|default:'#aaa'};
			display: block;
			font-size: {$settings_photogallery.lista_kategorii_wielkosc_tekstu|default:'92'}%; line-height: 10px;
			background: {$settings_photogallery.lista_kategorii_kolor_tla|default:'#fefefe'};
			color: {$settings_photogallery.lista_kategorii_kolor_tekstu|default:'#333333'};
			{$settings_photogallery.lista_ofert_styl_tekstu}
{rdelim}
.kategorie-photogallery-small, .kategorie-photogallery-small-selected{ldelim}
			overflow: hidden;
			float: left; padding: 3px;  margin: 5px 10px 10px 0px; width: 78px; height: 55px;
			border: solid {$settings_photogallery.lista_kategorii_grubosc_ramki|default:'1'}px {$settings_photogallery.lista_kategorii_kolor_ramki|default:'#aaa'};
			display: block;
			font-size: {$settings_photogallery.lista_kategorii_wielkosc_tekstu|default:'92'}%; line-height: 10px;
			background: {$settings_photogallery.lista_kategorii_kolor_tla|default:'#fefefe'};
			color: {$settings_photogallery.lista_kategorii_kolor_tekstu|default:'#333333'};
			{$settings_photogallery.lista_ofert_styl_tekstu}
{rdelim}
.kategorie-photogallery-small-selected{ldelim}
	border-left: solid 3px #ff0000; border-right: solid 3px #ff0000; border-top: solid 1px #ff0000; border-bottom: solid 1px #ff0000;
{rdelim}
.kategorie-photogallery h3 {ldelim}
			{$settings_photogallery.lista_ofert_styl_naglowka}
			border-bottom: solid {if $settings_photogallery.lista_kategorii_kolor_podkreslenia_naglowka eq 'none'}0px{else}{$settings_photogallery.lista_ofert_grubosc_podkreslenia_naglowka|default:'0'}px {/if} {$settings_photogallery.lista_kategorii_kolor_podkreslenia_naglowka|default:'#aaa'};
			background: {$settings_photogallery.lista_kategorii_kolor_tla_naglowka|default:'none'};
			padding-left: 2px;	
			margin-bottom: 2px;	
			line-height: 11px;
{rdelim}
.kategorie-photogallery h3 a{ldelim}
			font-size: {$settings_photogallery.lista_kategorii_wielkosc_naglowka|default:'105'}%;
			color: {$settings_photogallery.lista_kategorii_kolor_naglowka|default:'#333333'}
{rdelim}
		.kategoria-wiecej{ldelim}
			position: absolute;
			margin-top: {if isset($settings_photogallery.lista_kategorii_wysokosc_ramki)}{$settings_photogallery.lista_kategorii_wysokosc_ramki-14|default:'186'}{else}186{/if}px;
			_margin-top: {if isset($settings_photogallery.lista_kategorii_wysokosc_ramki)}{$settings_photogallery.lista_kategorii_wysokosc_ramki-22|default:'177'}{else}177{/if}px;
			margin-left: -2px;
			background: {$settings_photogallery.lista_kategorii_kolor_paska_wiecej|default:'#efefef'};
			width: {$settings_photogallery.lista_kategorii_szerokosc_ramki|default:'185'}px;
			_width: {$settings_photogallery.lista_kategorii_szerokosc_ramki-4|default:'176'}px;
			padding: 2px;
			
		{rdelim}
		.kategoria-wiecej a {ldelim}
			color: {$settings_photogallery.lista_kategorii_kolor_tekstu_wiecej|default:'#AAAAAA'};
			font-size: 90%;
			line-height: 12px;
		{rdelim}

		.kategoria-edytuj{ldelim}
			position: absolute;
			margin-top: 0px;
			margin-left: {if isset($settings_photogallery.lista_kategorii_szerokosc_ramki)}{$settings_photogallery.lista_kategorii_szerokosc_ramki-21}{else}164{/if}px;
			_margin-left: {if isset($settings_photogallery.lista_kategorii_szerokosc_ramki)}{$settings_photogallery.lista_kategorii_szerokosc_ramki-28}{else}158{/if}px;
			background: #fff;
			width: 18px;
			padding: 2px;			
		{rdelim}
		.kategoria-edytuj a {ldelim}
			padding: 0px;
			margin: 0px;
		{rdelim}
		.kategoria-edytuj a:hover{ldelim}
			text-decoration: none;
		{rdelim}
		.kategoria-edytuj a img{ldelim}
			padding: 0px;
			margin: 0px;
			text-decoration: none;
		{rdelim}
		.kategoria-edytuj img:hover{ldelim}
			text-decoration: none;
		{rdelim}


		img.help-icons{ldelim}
			/*position: absolute;
			margin-top: -20px;*/
			background: none;
			cursor: pointer; padding: 0px; margin: 0px; vertical-align: middle;			
		{rdelim}
		img.btn_bez_tla{ldelim}
			cursor: pointer; padding: 0px; margin: 0px; vertical-align: middle;
		{rdelim}
		
		div.help-text {ldelim}
			display: none;
		{rdelim}
		
		.kategorie-photogallery .thumbnail{ldelim}
			cursor: pointer;
			background: {$settings_photogallery.lista_kategori_kolor_tla_thumb|default:'#FFFFFF'};
			background-position: center center;
			float: left	;
			visibility: visible;
			background-repeat: no-repeat; 
			margin-right: {$settings_photogallery.lista_kategorii_marginesy_thumb|default:'2'}px;
			margin-left: 0px;
			margin-top: {$settings_photogallery.lista_kategorii_marginesy_thumb|default:'2'}px;
			padding: 2px;
			border: solid {$settings_photogallery.lista_kategorii_grubosc_ramki_thumb|default:'1'}px {$settings_photogallery.lista_kategorii_kolor_ramki_thumb|default:'#EEEEEE'};
		{rdelim}
		
		.kategorie-photogallery-small .thumbnail, .kategorie-photogallery-small-selected .thumbnail{ldelim}
			cursor: pointer;
			background: {$settings_photogallery.lista_kategori_kolor_tla_thumb|default:'#FFFFFF'};
			background-position: center center;
			float: left	;
			visibility: visible;
			background-repeat: no-repeat; 
			margin-right: {$settings_photogallery.lista_kategorii_marginesy_thumb|default:'2'}px;
			margin-left: 0px;
			margin-top: {$settings_photogallery.lista_kategorii_marginesy_thumb|default:'2'}px;
			padding: 2px;
			border: solid {$settings_photogallery.lista_kategorii_grubosc_ramki_thumb|default:'1'}px {$settings_photogallery.lista_kategorii_kolor_ramki_thumb|default:'#EEEEEE'};
		{rdelim}

		/* galeria */
		#oferta-galeria{ldelim}
			float: left;
		{rdelim}


/* zdjecia */
.zdjecia-photogallery{ldelim}
			overflow: hidden;
			float: left; padding: 3px;  margin: 5px 10px 15px 10px; width: {$settings_photogallery.lista_zdjec_szerokosc_ramki|default:'185'}px; height: {$settings_photogallery.lista_zdjec_wysokosc_ramki|default:'200'}px;
			border: solid {$settings_photogallery.lista_zdjec_grubosc_ramki|default:'1'}px {$settings_photogallery.lista_zdjec_kolor_ramki|default:'#aaa'};
			display: block;
			font-size: {$settings_photogallery.lista_zdjec_wielkosc_tekstu|default:'92'}%; line-height: 10px;
			background: {$settings_photogallery.lista_zdjec_kolor_tla|default:'#fefefe'};
			color: {$settings_photogallery.lista_zdjec_kolor_tekstu|default:'#333333'};
			{$settings_photogallery.lista_ofert_styl_tekstu}
{rdelim}
.zdjecia-photogallery .zdjecie-nazwa {ldelim}
			{$settings_photogallery.lista_ofert_styl_naglowka}
			border-bottom: solid {if $settings_photogallery.lista_zdjec_kolor_podkreslenia_naglowka eq 'none'}0px{else}{$settings_photogallery.lista_ofert_grubosc_podkreslenia_naglowka|default:'0'}px {/if} {$settings_photogallery.lista_zdjec_kolor_podkreslenia_naglowka|default:'#aaa'};
			background: {$settings_photogallery.lista_zdjec_kolor_tla_naglowka|default:'none'};
			padding: 5px 0px 5px 2px;	
			margin: 0px 0px 2px 0px;
			
			font-size: {$settings_photogallery.lista_zdjec_wielkosc_naglowka|default:'105'}%;
			color: {$settings_photogallery.lista_zdjec_kolor_naglowka|default:'#333333'}
{rdelim}

		.zdjecie-edytuj{ldelim}
			position: absolute;
			margin-top: 0px;
			margin-left: {if isset($settings_photogallery.lista_zdjec_szerokosc_ramki)}{$settings_photogallery.lista_zdjec_szerokosc_ramki-21}{else}164{/if}px;
			_margin-left: {if isset($settings_photogallery.lista_zdjec_szerokosc_ramki)}{$settings_photogallery.lista_zdjec_szerokosc_ramki-28}{else}158{/if}px;
			background: #fff;
			width: 18px;
			padding: 2px;			
		{rdelim}
		.zdjecie-edytuj a {ldelim}
			padding: 0px;
			margin: 0px;
		{rdelim}
		.zdjecie-edytuj a:hover{ldelim}
			text-decoration: none;
		{rdelim}
		.zdjecie-edytuj a img{ldelim}
			padding: 0px;
			margin: 0px;
			text-decoration: none;
		{rdelim}
		.zdjecie-edytuj img:hover{ldelim}
			text-decoration: none;
		{rdelim}


		img.help-icons{ldelim}
			/*position: absolute;
			margin-top: -20px;*/
			background: none;
			cursor: pointer; padding: 0px; margin: 0px; vertical-align: middle;			
		{rdelim}
		img.btn_bez_tla{ldelim}
			cursor: pointer; padding: 0px; margin: 0px; vertical-align: middle;
		{rdelim}
		
		div.help-text {ldelim}
			display: none;
		{rdelim}
		
		.thumbnail-zdjecie{ldelim}
			cursor: pointer;
			background: {$settings_photogallery.lista_kategori_kolor_tla_thumb|default:'#FFFFFF'};
			background-position: center center;
			float: left	;
			visibility: visible;
			background-repeat: no-repeat; 
			margin-right: {$settings_photogallery.lista_zdjec_marginesy_thumb|default:'2'}px;
			margin-left: 0px;
			margin-top: {$settings_photogallery.lista_zdjec_marginesy_thumb|default:'2'}px;
			padding: 2px;
			border: solid {$settings_photogallery.lista_zdjec_grubosc_ramki_thumb|default:'1'}px {$settings_photogallery.lista_zdjec_kolor_ramki_thumb|default:'#EEEEEE'};
		{rdelim}
		.fullphoto{ldelim}
			cursor: pointer;
			background: {$settings_photogallery.lista_zdjec_kolor_tla_full|default:'#FFFFFF'};
			background-position: center center;
			float: left	;
			visibility: visible;
			background-repeat: no-repeat; 
			margin-right: {$settings_photogallery.lista_zdjec_marginesy_full|default:'8'}px;
			margin-left: 0px;
			margin-top: {$settings_photogallery.lista_zdjec_marginesy_full|default:'8'}px;
			padding: 2px;
			border: solid {$settings_photogallery.lista_zdjec_grubosc_ramki_full|default:'1'}px {$settings_photogallery.lista_zdjec_kolor_ramki_full|default:'#EEEEEE'};
		{rdelim}
		
		img.photo-url{ldelim}
			position: absolute;
			margin-top: {if isset($settings_photogallery.lista_zdjec_wysokosc_ramki)}{$settings_photogallery.lista_zdjec_wysokosc_ramki-48}{else}155{/if}px;
			_margin-top: {if isset($settings_photogallery.lista_zdjec_wysokosc_ramki)}{$settings_photogallery.lista_zdjec_wysokosc_ramki-53}{else}148{/if}px;
			margin-left: {if isset($settings_photogallery.lista_zdjec_szerokosc_ramki)}{$settings_photogallery.lista_zdjec_szerokosc_ramki-48}{else}138{/if}px;
			_margin-left: {if isset($settings_photogallery.lista_zdjec_szerokosc_ramki)}{$settings_photogallery.lista_zdjec_szerokosc_ramki-53}{else}131{/if}px;
			background: none;
			width: 48px;
			height: 48px;
			padding: 2px;
			cursor: pointer;
						
		{rdelim}
		a .photo-url:hover{ldelim}
			text-decoration: none;
		{rdelim}		
		/* galeria */
		#oferta-galeria{ldelim}
			float: left;
		{rdelim}	
</style>	
<!-- $settings_photogallery|@debug_print_var}  

<script type="text/javascript" src="/public/scripts/jQuery/lightbox/js/jquery.lightbox.min.js"></script>
<link rel="stylesheet" href="/public/scripts/jQuery/lightbox/css/jquery.lightbox.packed.css" type="text/css" />
-->
<script type="text/javascript" src="/public/scripts/highslide/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="/public/scripts/highslide/highslide.css" />

{literal}
<script type="text/javascript">
	hs.graphicsDir = '/public/scripts/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.wrapperClassName = 'controls-in-heading';
	hs.fadeInOut = true;
	//hs.dimmingOpacity = 0.75;

	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: false,
		overlayOptions: {
			opacity: 1,
			position: 'top right',
			hideOnMouseOut: false
		}
	});
</script>
{/literal}